const mongoose = require('../config/db');
const Schema = mongoose.Schema;

module.exports = new Schema(
  {
    playerId: {
      type: Schema.ObjectId,
      ref: 'player',
    },
    //晨脉
    morningPulse: {
      type: Number
    },
    //自觉用力程度
    RPE: {
      type: Number
    },
  },
  {
    timestamps: {
      createdAt: 'created_at',
      updatedAt: 'updated_at'
    }
  }
);
